Auto merge of #4637 - kivikakk:vers-version, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 19 Oct 2017 06:50:17 +0000 (06:50 +0000)
committerbors <bors@rust-lang.org>
Thu, 19 Oct 2017 06:50:17 +0000 (06:50 +0000)
commit75f8541d32b276ef0764535fcfb63befbc285126
tree5bb0d7782c8ce5d54f377b77c7a11c76daf33076
parent0d2b5a69ba8f867788dd95259de314d4016320f4
parent0cbfb678e21f8bfbe47887f206a27675ac51df95
Auto merge of #4637 - kivikakk:vers-version, r=alexcrichton

Allow cargo install --version as well (preferred)

Fixes https://github.com/rust-lang/cargo/issues/4590.

The usage looks pretty ugly with this extra line in it, but it's not really avoidable with our docopt use.

We fail if both are provided; accepting both feels like a path to demons.